package cn.harry.modular.sys.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class LoginResult {

	@Schema(description = "token")
	private String token;

	@Schema(description = "token 类型", example = "Bearer")
	private String tokenHead;

	@Schema(description = "过期时间(单位：秒)", example = "604800")
	private String expiration;

	public LoginResult() {

	}

	public LoginResult(String token, String tokenHead, String expiration) {
		this.token = token;
		this.tokenHead = tokenHead;
		this.expiration = expiration;
	}

}
